//
// Created by tan on 22-8-24.
//

#include "GLine.h"

#include <utility>

GLine::GLine(int lineNo, vector<int> coords, int blockNo, vector<int> originalCoords,
             string action, string lineR) {
    this->lineNo = lineNo;
    this->coords = std::move(coords);
    this->blockNo = blockNo;
    this->originalCoords = std::move(originalCoords);
    this->action = std::move(action);
    this->allPoints.insert(this->coords.begin(), this->coords.end());
    this->allPoints.erase(-1);
    this->lineR = std::move(lineR);
}

GLine::GLine() {

}
